numb1 = float(input("请输入数字1："))
operator= input("请输入要执行的四则运算符号：")
numb2 = float(input("请输入数字2："))

result = None

if operator =="+":
    result = numb1 + numb2
elif operator =="-":
    result = numb1 - numb2
elif operator =="*":
    result = numb1 * numb2
elif operator =="/":
    if numb2 ==0:
        print("分母不能为0，计算失败")
    else:
        result = numb1 / numb2

if result != None:
    print(f"当前的运算结果为：{result}")